		<script type="text/javascript">

		 function myThrobberOn(elemtarget) {
			throbimg   = document.createElement('img');
			throbimg.src = '<?=$blogRoot?>themes/_system/imgs/throbber.gif';
			throbimg.id = elemtarget+'throbimg';
			document.getElementById(elemtarget).appendChild(throbimg);
		}
		 
		 
		 function ThrobberOff(elemtarget) {
			document.getElementById(elemtarget).removeChild(target+'throbimg');
		 }

		
		function ajaxFunction() {
			try {
				// Firefox, Opera 8.0+, Safari
				xmlHttp=new XMLHttpRequest();
			} catch (e) {
				// Internet Explorer
				try {
					xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
				} catch (e) {
					try {
						xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
					} catch (e) {
						alert("Your browser does not support AJAX!");
						return false;
					}
				}
			}
			return xmlHttp;
		}
		
		 ajaxFunction();
		 
		 function swap(id) {
			if (document.getElementById(id).style.display=='none') document.getElementById(id).style.display='';
			else document.getElementById(id).style.display='none';
		 }


		 function setVisible(id,visibility) {
			if (visibility) document.getElementById(id).style.display='';
			else document.getElementById(id).style.display='none';
		 }
		 
	</script>
